package com.tz.service;

import com.tz.entity.Research;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 本接口用来处理统计分析
 * Created by 于大海 on 2017/12/29.
 *
 */

public interface ResearchsService {
    /**
     * 按月查询
     * @param monthData
     * @return 以教师名为key
     */
    Map<String,List<Research>> findMonth(String monthData);

    /**
     * 按季度查询
     * @param startData
     * @param endDate
     * @return 以教师名为key的map
     */
    Map<String,List<Research>> findQuarter(String startData,String endDate);
    /**
     * 按年查询
     * @param yeardata
     * @return 以教师名为key的map
     */
    Map<String,List<Research>> findYear(String yearData);

}
